using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.Mvc;
using System.Web.Mvc.Ajax;
using System.Collections;

using ComLib.Diagnostics;


namespace ComLib.CMS.Areas.Admin
{
    [Authorize(Roles = "Admin")]
    public class DiagnosticsController : Controller
    {
        //
        // GET: /Diagnostics/

        public ActionResult Index()
        {
            IDictionary data = Diagnostics.Diagnostics.GetDataAsDictionary(
                                DiagnosticGroup.MachineInfo, DiagnosticGroup.Modules, DiagnosticGroup.EnvUser);
            return View("List", data);
        }
    }
}
